﻿var view = Ember.View.create({
    templateName: 'appFind',
    findState: "普通",
    selectoption: [
        { name: '123456' }
    ]
});

App.AddSelect = Ember.View.extend({
    click: function (evt) {
        console.info(evt);
        view.selectoption.push({ name: '123456' });

        view.remove();
        view.appendTo('#x');
    }
});

App.DelSelect = Ember.View.extend({
    click: function (evt) {
        console.info(evt);
        view.selectoption.push({ name: '123456' });

        view.remove();
        view.appendTo('#x');
    }
});

$(function () {
    view.appendTo('#x');
});